import { option } from '@/api/http'

export function createfin (data){
  return option({
    url:'createFApprove',
    method:'post',
    data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}


export function getBills (data){
  return option({
    url:'getbills',
    method:'post',
    data,
  })
}


export function getCopyBills (data){
  return option({
    url:'get_my_copy',
    method:'post',
    data,
  })
}



export function getFinHandler (data){
  return option({
    url:'getFinHandler',
    method:'post',
    data,
  })
}



export function getBillDetails (data){
  return option({
    url:'getBillDetails',
    method:'post',
    data,
  })
}



export function getToHandle(data){
  return option({
    url:'getToHandle',
    method:'post',
    data
  })
}


export function downloadAccessory(data){
  return option({
    url:'downloadAccessory',
    method:'post',
    data:{
      flowId:data
    }
  })
}



export function handleBill(data){
  return option({
    url:'handleBill',
    method:'post',
    data,
  })
}



export function getProInfo(data){
  return option({
    url:'getProInfo',
    method:'post',
    data,
  })
}

